package com.woniu.gym.form;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

@Data
public class ModifyGymCoachInfoForm {

    private Integer coachInfoId;

    private Integer coachType;//1团教 2私教
    @NotNull(message = "擅长领域不能为空")
    private String coachAdept;//擅长领域
    @Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "手机号格式有误")
    @NotNull(message = "联系电话不能为空")
    private String coachPhone;
    private Integer coachState;//1在职 2离职



}
